package com.springboot.frame.oauth.server.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author liheng
 * @since 2020-08-28
 */
@TableName("sys_role_resource")
public class SysRoleResource implements Serializable {

    private static final long serialVersionUID=1L;

      @TableId("role_id")
    private Integer roleId;

    @TableField("resource_id")
    private Integer resourceId;


    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public Integer getResourceId() {
        return resourceId;
    }

    public void setResourceId(Integer resourceId) {
        this.resourceId = resourceId;
    }

    @Override
    public String toString() {
        return "SysRoleResource{" +
        "roleId=" + roleId +
        ", resourceId=" + resourceId +
        "}";
    }
}
